package com.yeyks.search.pojo.param.search;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class HotelSearchC2bListParam {

    @ApiModelProperty("时间戳")
    @NotNull
    private Long timestamp;
    @ApiModelProperty("排序 默认1智能，2距离，3价格")
    private Integer sort;


    @ApiModelProperty(value = "用户id", hidden = true)
    private Integer userId;

    //---以下内部查询条件分组,选其一或没有,不能重复
    @ApiModelProperty(value = "具体的条数id列表", hidden = true)
    @Null
    private List<Integer> pickIds;
    //---
    @ApiModelProperty(value = "抢单类型,0:自动  1：手动", hidden = true)
    @Null
    private Integer manualPickOrder;
    //---
    @ApiModelProperty(value = "来源", hidden = true)
    @Null
    private String sourceType;
    //---
    @ApiModelProperty(value = "酒店id", hidden = true)
    @Null
    private String hotelId;
    //---
    @ApiModelProperty(value = "roomid", hidden = true)
    @Null
    private String roomId;

}
